package com.qdxwx.models.card;

import java.io.Serializable;
import java.time.LocalDate;

/**
 *获取线下卡信息
 */
public class CardCodeQuery implements Serializable {

    private static final long serialVersionUID = -6994165985392451499L;

    private Integer typeId;    //卡类型(1课程卡2充值卡)
    private String status;                //状态
    private LocalDate beginDate;    //开始时间
    private LocalDate endDate;        //结束时间
    private Long userId;    //用户id
    private Long cardId;    //课程主卡id

    public CardCodeQuery() {
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public LocalDate getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(LocalDate beginDate) {
        this.beginDate = beginDate;
    }

    public LocalDate getEndDate() {
        return endDate;
    }

    public void setEndDate(LocalDate endDate) {
        this.endDate = endDate;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getCardId() {
        return cardId;
    }

    public void setCardId(Long cardId) {
        this.cardId = cardId;
    }

    @Override
    public String toString() {
        return "CardCodeQuery{" +
                ", typeId=" + typeId +
                ", status='" + status + '\'' +
                ", beginDate=" + beginDate +
                ", endDate=" + endDate +
                ", userId=" + userId +
                ", cardId=" + cardId +
                '}';
    }
}
